
# get QLOG module info
import os
home = os.getenv('HOME')
QLOG_QMODULE = '%s/qmodule/qlog' % home
QLOG_INC = '%s/include' % QLOG_QMODULE
QLOG_LIBPATH = '%s/lib' % QLOG_QMODULE

env = Environment()
env[ 'CCFLAGS' ] = '-g -O2 -fPIC  -D_THREAD_SAFE -pthread  -Wall -Wno-sign-compare'
env[ 'CPPPATH' ] = ['../include','../../include','../../../include',QLOG_INC,'/home/s/include','../src' ]
env[ 'CPPFLAGS' ] = []
env[ 'LIBPATH' ] = ['../lib','../../lib','../../../lib',QLOG_LIBPATH,'/home/s/lib/static', ]
env[ 'LIBS' ] = ['bocat_logging','bocat_common','qlog','boost_program_options-mt','boost_filesystem-mt', 'boost_system-mt', 'boost_thread-mt','z','crypto','pthread',]


sink_target = 'test-wbsinker'
sink_sources = [ 'test-wbsinker.cpp','../src/storage.cpp','../src/fifo_storage.cpp', ]
env.Program( sink_target, sink_sources )

for t in ( 'test-box-001.cpp', ) :
	env.Program( t )

for t in ( 'test-nmap-001.cpp', 'test-nmap-002.cpp' ) :
	env.Program( t )

